package com.yi.mall.seckill;

import com.yi.mall.common.utils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(contextId = "seckillGoods",name = "mall-seckill-service")
public interface SeckillGoodsFeign {
    @GetMapping("/seckill/goods/activity/{id}")
    Result listByActivityId(@PathVariable Integer id);

}
